package io.finer.erp.jeecg.bas.service;

import io.finer.erp.jeecg.bas.entity.BasSequence;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @Description: bas_sequence
 * @Author: jeecg-boot
 * @Date: 2020-03-20
 * @Version: V1.0
 */
public interface IBasSequenceService extends IService<BasSequence> {
	/**
	 * @Description 创建一个sequence
	 * @param k key值
	 * @return
	 * Create at: 2021-07-13 11:51:24
	 * @author: duany
	 * Revision:
	 *    2021-07-13 11:51:24 - first revision by duany
	 *        
	 */
	public boolean addSequence(String k);
	
	/**
	 * @Description 获取seq值
	 * @param k
	 * @return
	 * Create at: 2021-07-13 11:56:37
	 * @author: duany
	 * Revision:
	 *    2021-07-13 11:56:37 - first revision by duany
	 *        
	 */
	public Integer getValue(String k);
}
